package com.kexuexiong.demo.bearBaseService;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import com.alibaba.nacos.spring.context.annotation.discovery.EnableNacosDiscovery;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;

@SpringBootApplication
@ConfigurationPropertiesScan(basePackages = "com.kexuexiong.demo.bearBaseService.common")
@NacosPropertySource(dataId = "${spring.application.name}", autoRefreshed = true)
@EnableNacosDiscovery
public class BearBaseServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(BearBaseServiceApplication.class, args);
    }
}
